<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script src="raphael.js" charset="utf-8"></script>
    <script>
    window.onload=function (){
      let paper=Raphael(0, 0, 800, 600);

      let rect=paper.rect(100, 100, 300, 200).attr('fill', 'yellow').click(function (){
        rect.animate({'transform': 's2,1r30'}, 1000, 'bounce');
      });

      //rect.attr('transform', 's2,1r30');

    };
    </script>
  </head>
  <body>

  </body>
</html>
